package com.seari.tunnel.service;

import java.util.List;

import com.seari.tunnel.entity.CorridorIn;
import com.seari.tunnel.entity.CorridorInParam;
import com.seari.tunnel.entity.CorridorOut;
import com.seari.tunnel.entity.FeeConfig;
import com.seari.tunnel.entity.Namber;
import com.seari.tunnel.entity.OperationHistory;
import com.seari.tunnel.entity.PileNo;
import com.seari.tunnel.entity.PipelineInfo;
import com.seari.tunnel.entity.PipelineType;
import com.seari.tunnel.entity.Plies;
import com.seari.tunnel.entity.VisitApply;
import com.seari.tunnel.entity.WarehouseSection;


public interface IProcedureService {
	String SERVICE_NAME = "procedureService";
	
	public void updatePipeline(CorridorIn corridorIn, PipelineInfo pipelineInfo)throws RuntimeException;
	
	public void updateSigned(CorridorIn corridorIn);
	
	public void updateExamine(CorridorIn corridorIn);
	
	public List<CorridorIn> findProcedures();
	
	public void updateAgreement(CorridorIn corridorIn,CorridorOut corridorOut)throws RuntimeException;
	
	public List<PipelineType> findPipelineTypes();
	
	public List<WarehouseSection> findWarehouseSections();
	
	public List<PileNo> findSPileNos(int id);
	
	public List<PileNo> findEPileNos(int id);
	
	public List<Plies> findPlies(int id);
	
	public List<Namber> findNambers();
	
	public PipelineInfo findPipelineInfoById(int in_id);
	
	public int pipelineInfoExist(int in_id);
	
	public List<CorridorInParam> findProcedureParams();
	
	public String getAcceptApplicationById(int id);
	
	public void updateProcedureFile(CorridorIn corridorIn);
	
    public void updateFeeConfig(FeeConfig feeConfig);
	
	public List<FeeConfig> findFeeConfig();
	
	public List<VisitApply> findVisitApply();
	
	public void addVisitApply(VisitApply va);
	
	public void updateVisitApply(VisitApply va);
	
	public void deleteVisitApply(int id);
	 
}
